<!DOCTYPE html>
<html lang="en">
<head>
	
	<!-- start: Meta -->
	<meta charset="utf-8">
	<title>Bootstrap Metro Dashboard by Dennis Ji for ARM demo</title>
	<!-- end: Meta -->
	
	<!-- start: Mobile Specific -->
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- end: Mobile Specific -->

	<!-- start: CSS -->
	<link id="bootstrap-style" href="__STATIC__/assets/css/bootstrap.min.css" rel="stylesheet">
	<link href="__STATIC__/assets/css/bootstrap-responsive.min.css" rel="stylesheet">
	<link id="base-style" href="__STATIC__/assets/css/style.css" rel="stylesheet">
	<link id="base-style-responsive" href="__STATIC__/assets/css/style-responsive.css" rel="stylesheet">
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,latin-ext' rel='stylesheet' type='text/css'>
	<!-- end: CSS -->
		
	<!-- start: Favicon -->
	<link rel="shortcut icon" href="__STATIC__/assets/img/favicon.ico">
	<!-- end: Favicon -->
	
</head>

<body>
	{include file="public:header"/}
	
		<div class="container-fluid-full">
		<div class="row-fluid">
				
			{include file="public:sidemenu"/}
			
			<!-- 正文导航条 -->
			<div id="content" class="span10">	
				<ul class="breadcrumb">
					<li>
						<i class="icon-home"></i>
						<a href="{:url('news/index')}">Home</a> 
						<i class="icon-angle-right"></i>
					</li>
					<li><a href="#">私信</a></li>
				</ul>			
			<!-- 正文 -->
			<!-- 正文 -->
				<div class="row-fluid sortable">
				<div class="box span12" onTablet="span6" onDesktop="span4">
					<div class="box-header">
						<h2><i class="halflings-icon white comment"></i><span class="break"></span>Chats</h2>
						<div class="box-icon">
							<a href="#" class="btn-minimize"><i class="halflings-icon white chevron-up"></i></a>
							<a href="#" class="btn-close"><i class="halflings-icon white remove"></i></a>
						</div>
					</div>
					<div class="box-content">
						<ul class="chat">
							{volist name="messagelist" id="vo"}
							{if condition="$userid==$vo.send_user"}
							<li class="right">
							<img class="avatar" alt="Dennis Ji" src="__STATIC__/posters/{$vo.sender_image}">
							<span class="message"><span class="arrow"></span>
							{else/}
							<li class="left">
							<img class="avatar" alt="Dennis Ji" src="__STATIC__/posters/{$vo.sender_image}">
							<span class="message"><span class="arrow"></span>
							{/if}
									<span class="from">{$vo.sender_name}</span>
									<span class="time">{$vo.msg_time}</span>
									<span class="text">
										{$vo.msg_content}
									</span>
								</span>	                                  
							</li>
							{/volist}
						</ul>	
					</div>
				</div><!--/span-->
				</div><!--/row-->
			<!-- 正文 -->
			<!-- 正文 -->
			</div>
			<!-- 正文导航条 -->

		</div><!--/#content.span10-->
		</div><!--/fluid-row-->
		
	{include file="public:footer"/}
	
</body>
</html>
